#bootstrap.py
import sys
import os

sys.path.append(os.path.dirname(globals()['__file__'] ) + '/../modules')

from paste.deploy import loadapp
from paste.registry import RegistryManager

app = RegistryManager(
	loadapp(
		'config:config.ini',
		relative_to = os.path.dirname(globals()['__file__'] ) + '/..')
		)
